.popover :global(.ant-popover-inner-content) {
  padding: 0;
}

.panel {
  border-radius: 4px;
  box-sizing: content-box;
  max-height: 300px;
  overflow-y: auto;
  padding: 12px;
  user-select: none;
}
.panel > section {
  display: flex;
  flex-wrap: wrap;
  width: 450px;
}

.emojis {
  column-gap: 2px;
  margin-bottom: 10px;
  row-gap: 2px;
  & > * {
    padding: 2px;
  }
}

.emotions {
  column-gap: 4px;
  row-gap: 3px;
}
.emotions > * {
  @size: 52px;
  align-items: center;
  border-radius: 2px;
  display: flex;
  height: @size;
  justify-content: center;
  padding: 2px;
  position: relative;
  width: @size;
  transition: background-color 0.2s ease-out;
  &:hover {
    background-color: #f7f7f7;
  }
  img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 2px;
  }
}
.remove {
  background-color: #fff;
  border-radius: 100px;
  display: block;
  height: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  right: -4px;
  top: -4px;
  transition: opacity 0.2s ease-out;
  width: 0;
  z-index: 1;
  svg {
    fill: #ee8079;
  }
}
.emotion:hover .remove {
  height: 14px;
  opacity: 1;
  width: 14px;
}
